<?php

namespace App\Module\Admin\Validator;

use App\System\Base\Validator\BaseValidator;

/**
 * 定义验证器类
 * @author huwei
 */
class SettingValidator extends BaseValidator
{
    protected $rules = [
        'value.*' => 'required|numeric',
    ];

    protected $messages = [
        'value.*' => '所有参数必填，且是数字',
    ];

    protected $attributes = [

    ];
}